<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<div class="t_bar">项目负责人</div>
<table class="t_css table01" width="100%" border="0" cellpadding="0" id="basicInfo"
	cellspacing="1" style="word-break:break-all;">
	<col style="width:18%"/>
	<col style="width:16%"/>
	<col style="width:16%"/>
	<col style="width:18%"/>
	<col style="width:16%"/>
	<col style="width:16%"/>
	<tr class="li_2">
	    <td   align="right" >姓名：</td>
		<td  colspan="1">
			<span name="proposal/fzr_psnname" ><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/zh_name" /></span>
		</td>
		<td align="right">性别：</td>
		<td colspan="1">
		   <x:out select="$xmlData/data/proposal/fzr_gender_name" />
		</td>
		<td   align="right" >出生年月：</td>
		<td  colspan="2" align="center">
			<span name="proposal/fzr_birthday" ><x:out select="$xmlData/data/proposal/fzr_birthday" /></span>
		</td>
	</tr>
	<tr class="li_1">
		<td   align="right" >学历：</td>
		<td  colspan="1">
            <span name="proposal/fzr_degree_name" ><x:out select="$xmlData/data/proposal/fzr_degree_name" /></span>
		</td>
		<td  align="right" nowrap>职务：</td>
	<td colspan="1">
			<span name="proposal/fzr_position" ><x:out select="$xmlData/data/proposal/fzr_position" /></span>
	</td>
		<td  align="right" nowrap>职称：</td>
	<td colspan="1">
         <span name="proposal/fzr_prof_title_name" ><x:out select="$xmlData/data/proposal/fzr_prof_title_name" /></span>
	</td>
	</tr>
	<tr class="li_2">
	    <td  align="right" >从事专业：</td>
		<td colspan="3">
			 <span name="proposal/fzr_major_work" ><x:out select="$xmlData/data/proposal/fzr_major_work" /></span>
		</td>
		<td align="right">手机：</td>
	<td nowrap  colspan="2">
	<span name="proposal/fzr_mobile" ><x:out select="$xmlData/data/proposal/fzr_mobile" /></span>
	</td>
	</tr>
	<tr>
			<td class="t_bar" style="padding: 0px;" colspan="6">项目负责人简介，重点填写研发经历、主要成果、技术书评和管理能力等</td>
		</tr>
		<tr>
			<td colspan="6">
				<pre><x:out select="$xmlData/data/proposal/project_fzr_hidden"  escapeXml="false"/></pre>
			</td>
		
		</tr>	
	</table>
	<br/>
<div class="t_bar">
	项目组主要参与人员
</div>
	<table  id="zh_persons" cellpadding="0" class="t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
			<col style="width: 5%"/>
			<col style="width: 10%"/>
			<col style="width: 15%"/>
			<col style="width: 10%"/>
			<col style="width: 10%"/>
			<col style="width: 10%"/>
			<col style="width: 10%"/>
			<col style="width: 15%"/>
			<col style="width: 15%"/>
			<tr>
                <td align="center">序号</td>
				<td align="center">姓名</td>
				<td align="center">出生年月</td>
				<td align="center">性别</td>
				<td align="center">从事专业</td>
				<td align="center">职称</td>
				<td align="center">学历</td>
				<td align="center">所在单位</td>
				<td align="center">项目分工</td>
			</tr>
			<c:set value="0" var="index" scope="page" />
			<x:forEach select="$xmlData/data/zh_persons/zh_person" var="zh_person">
				<tr>
					<td =true align="center">
						<input type="radio" name="sel_zh_persons" onclick="setSubmitPsn()" style="display:none"/> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/en_name" value="<x:out select="$zh_person/basic_info/en_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/ethnicity_value" value="<x:out select="$zh_person/basic_info/ethnicity_value" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/ethnicity_name" value="<x:out select="$zh_person/basic_info/ethnicity_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/subject_code" value="<x:out select="$zh_person/basic_info/subject_code" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/subject_name" value="<x:out select="$zh_person/basic_info/subject_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/discipline_code" value="<x:out select="$zh_person/basic_info/discipline_code" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/discipline_name" value="<x:out select="$zh_person/basic_info/discipline_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/region_value" value="<x:out select="$zh_person/basic_info/region_value" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/region_name" value="<x:out select="$zh_person/basic_info/region_name" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/gender_value" value="<x:out select="$zh_person/basic_info/gender_value" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/card_type_value" value="<x:out select="$zh_person/basic_info/card_type_value" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/academician_value" value="<x:out select="$zh_person/basic_info/academician_value" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/academician_name" value="<x:out select="$zh_person/basic_info/academician_name" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/org_code" value="<x:out select="$zh_person/basic_info/org_code" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/contact/tel_work" value="<x:out select="$zh_person/contact/tel_work" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/contact/fax" value="<x:out select="$zh_person/contact/fax" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_value" value="<x:out select="$zh_person/basic_info/degree_value" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_name" value="<x:out select="$zh_person/basic_info/degree_name" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/post_code" value="<x:out select="$zh_person/basic_info/post_code" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_country_value" value="<x:out select="$zh_person/basic_info/degree_country_value" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_country_name" value="<x:out select="$zh_person/basic_info/degree_country_name" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_college" value="<x:out select="$zh_person/basic_info/degree_college" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_year" value="<x:out select="$zh_person/basic_info/degree_year" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/prof_title_value" value="<x:out select="$zh_person/basic_info/prof_title_value" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/address" value="<x:out select="$zh_person/basic_info/address" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/post_doctor_value" value="<x:out select="$zh_person/basic_info/post_doctor_value" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/post_doctor_name" value="<x:out select="$zh_person/basic_info/post_doctor_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/age" value="<x:out select="$zh_person/basic_info/age" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/educate_value" value="<x:out select="$zh_person/basic_info/educate_value" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/card_code" value="<x:out select="$zh_person/basic_info/card_code" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/card_type_name" value="<x:out select="$zh_person/basic_info/card_type_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/contact/email" value="<x:out select="$zh_person/contact/email" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/contact/mobile" value="<x:out select="$zh_person/contact/mobile" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/contact/major_work" value="<x:out select="$zh_person/contact/major_work" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/major" value="<x:out select="$zh_person/basic_info/major" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/iscomember" value="0"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/researches" label="xml"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/position" value="<x:out select="$zh_person/basic_info/position" />"/>
					    <span name="zh_persons/zh_person[${flag}${index}]@seq_no">${index+1}</span>
					</td>
					<td >
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/zh_name"><a href="#" class="yase" onclick="psnInfoViewByxyzd(this,'zh_persons')"><x:out select="$zh_person/basic_info/zh_name" /></a></span>
					</td>
					<td align="center">
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/birthday"><x:out select="$zh_person/basic_info/birthday" /></span>
					</td>
					<td align="center">
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/gender_name">
							<c:set var="gender_value"><x:out select="$zh_person/basic_info/gender_value" /></c:set>
							<c:set var="gender_name"><x:out select="$zh_person/basic_info/gender_name" /></c:set>
							<c:choose>
								<c:when test="${empty gender_name }">
									<c:if test="${gender_value eq 'M' }">男</c:if>
									<c:if test="${gender_value eq 'F' }">女</c:if>
								</c:when>
								<c:otherwise>${gender_name }</c:otherwise>
							</c:choose>	
						</span>
					</td>
					<td >					
						<span name="zh_persons/zh_person[${flag}${index}]/contact/major_work"><x:out select="$zh_person/contact/major_work" /></span>
					</td>
					<td align="center">
						<%-- <span name="zh_persons/zh_person[${flag}${index}]/basic_info/position"><x:out select="$zh_person/basic_info/position" /></span>/ --%><span name="zh_persons/zh_person[${flag}${index}]/basic_info/prof_title_name"><x:out select="$zh_person/basic_info/prof_title_name" /></span>
					</td>
					<td align="center"> 
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/educate_name"><x:out select="$zh_person/basic_info/educate_name" /></span>
					</td>
					<td >
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/org_name"><x:out select="$zh_person/basic_info/org_name" /></span>
					</td>
					<td >
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/work"><c:choose><c:when test="${index==0}">项目负责人</c:when><c:otherwise><x:out select="$zh_person/basic_info/work" /></c:otherwise></c:choose></span>
					</td>
				</tr>
				<c:set value="${index+1}" var="index" scope="page" />
			</x:forEach>
	</table>
<script type="text/javascript">
	function psnInfoViewByxyzd(obj,tableId) {
		var subGrantCode = $("[name='proposal/sub_grant_code']").val();
		var url;
		if(subGrantCode == 476){
			url = ctx+"/proposal/view/dialog/psnInfoEdit_ybyf?parentTab="+
					tableId+"&type=edit&needMeetingInfo=1&TB_iframe=true&height=460&width=910";
		}else{
			url = ctx+"/proposal/view/dialog/psnInfoEdit_qnkjxxxm_2019?parentTab="+tableId+"&type=edit&TB_iframe=true&height=460&width=910";
		}
		$(obj).parents("tr").find(":radio").attr("checked",true);	
		if(!$("#"+tableId+" :radio:checked").length>0){
			scmWarn(irisNotes.pleaseSelectARow);
			return false;
		}
		
		if(url!=null&&url!=""){
			// showThickBox(url,irisNotes.viewResearcherInformation);
			var title=irisNotes.viewResearcherInformation;
			tb_show(title,url,false);
		}
	}
</script>